/*
 * FragmentDetalleSolictarAyudantes.java
 *
 * Created on 25/09/2007, 07:23:47 PM
 * Copyright kabad
 */
package wasolicitudesfiec.Ayudantias.SolicitarAyudantes.Fragments;

import com.sun.rave.web.ui.appbase.AbstractFragmentBean;
import com.sun.rave.web.ui.component.Checkbox;
import com.sun.rave.web.ui.component.Label;
import com.sun.rave.web.ui.component.StaticText;
import com.sun.rave.web.ui.component.TextArea;
import javax.faces.FacesException;
import javax.faces.component.html.HtmlInputTextarea;
import javax.faces.component.html.HtmlPanelGrid;
import javax.faces.convert.DateTimeConverter;
import wasolicitudesfiec.RequestBean1;
import wasolicitudesfiec.ApplicationBean1;
import wasolicitudesfiec.SessionBean1;

/**
 * <p>Fragment bean that corresponds to a similarly named JSP page
 * fragment.  This class contains component definitions (and initialization
 * code) for all components that you have defined on this fragment, as well as
 * lifecycle methods and event handlers where you may add behavior
 * to respond to incoming events.</p>
 */
public class FragmentDetalleSolictarAyudantes extends AbstractFragmentBean {
    // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
    private int __placeholder;

    /**
     * <p>Automatically managed component initialization. <strong>WARNING:</strong>
     * This method is automatically generated, so any user-specified code inserted
     * here is subject to being replaced.</p>
     */
    private void _init() throws Exception {
        dateTimeConverter1.setTimeZone(java.util.TimeZone.getTimeZone("America/Guayaquil"));
        dateTimeConverter1.setPattern("dd/MM/yyyy");
    }
    private StaticText stSolicitante1 = new StaticText();

    public StaticText getStSolicitante1() {
        return stSolicitante1;
    }

    public void setStSolicitante1(StaticText st) {
        this.stSolicitante1 = st;
    }
    private StaticText stTipoAyudantia1 = new StaticText();

    public StaticText getStTipoAyudantia1() {
        return stTipoAyudantia1;
    }

    public void setStTipoAyudantia1(StaticText st) {
        this.stTipoAyudantia1 = st;
    }
    private StaticText stNombreAyudantia1 = new StaticText();

    public StaticText getStNombreAyudantia1() {
        return stNombreAyudantia1;
    }

    public void setStNombreAyudantia1(StaticText st) {
        this.stNombreAyudantia1 = st;
    }
    private StaticText stNumHoras1 = new StaticText();

    public StaticText getStNumHoras1() {
        return stNumHoras1;
    }

    public void setStNumHoras1(StaticText st) {
        this.stNumHoras1 = st;
    }

    private DateTimeConverter dateTimeConverter1 = new DateTimeConverter();

    public DateTimeConverter getDateTimeConverter1() {
        return dateTimeConverter1;
    }

    public void setDateTimeConverter1(DateTimeConverter dtc) {
        this.dateTimeConverter1 = dtc;
    }

    private HtmlPanelGrid gridPanel1 = new HtmlPanelGrid();

    public HtmlPanelGrid getGridPanel1() {
        return gridPanel1;
    }

    public void setGridPanel1(HtmlPanelGrid hpg) {
        this.gridPanel1 = hpg;
    }
    private Label lblSolicitante = new Label();

    public Label getLblSolicitante() {
	return lblSolicitante;
    }

    public void setLblSolicitante(Label l) {
	this.lblSolicitante = l;
    }
    private Label lblTipo = new Label();

    public Label getLblTipo() {
	return lblTipo;
    }

    public void setLblTipo(Label l) {
	this.lblTipo = l;
    }
    private Label lblNombre = new Label();

    public Label getLblNombre() {
	return lblNombre;
    }

    public void setLblNombre(Label l) {
	this.lblNombre = l;
    }
    private Label lblHoras = new Label();

    public Label getLblHoras() {
	return lblHoras;
    }

    public void setLblHoras(Label l) {
	this.lblHoras = l;
    }
   
    private Label lblComentarios = new Label();

    public Label getLblComentarios() {
	return lblComentarios;
    }

    public void setLblComentarios(Label l) {
	this.lblComentarios = l;
    }
   private StaticText stFechaInicio = new StaticText();

    public StaticText getStFechaInicio() {
        return stFechaInicio;
    }

    public void setStFechaInicio(StaticText st) {
        this.stFechaInicio = st;
    }
    private StaticText stFechaFin = new StaticText();

    public StaticText getStFechaFin() {
        return stFechaFin;
    }

    public void setStFechaFin(StaticText st) {
        this.stFechaFin = st;
    }
    private HtmlInputTextarea txtAActividad = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtAActividad() {
        return txtAActividad;
    }

    public void setTxtAActividad(HtmlInputTextarea hit) {
        this.txtAActividad = hit;
    }
    private HtmlInputTextarea txtaComentarios = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtaComentarios() {
        return txtaComentarios;
    }

    public void setTxtaComentarios(HtmlInputTextarea hit) {
        this.txtaComentarios = hit;
    }
  
    // </editor-fold>

    public FragmentDetalleSolictarAyudantes() {
    }

    /**
     * <p>Callback method that is called whenever a page containing
     * this page fragment is navigated to, either directly via a URL,
     * or indirectly via page navigation.  Override this method to acquire
     * resources that will be needed for event handlers and lifecycle methods.</p>
     * 
     * <p>The default implementation does nothing.</p>
     */
    @Override
    public void init() {
        // Perform initializations inherited from our superclass
        super.init();
        // Perform application initialization that must complete
        // *before* managed components are initialized
        // TODO - add your own initialiation code here
        
        
        // <editor-fold defaultstate="collapsed" desc="Visual-Web-managed Component Initialization">
        // Initialize automatically managed components
        // *Note* - this logic should NOT be modified
        try {
            _init();
        } catch (Exception e) {
            log("Page1 Initialization Failure", e);
            throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
        }
        
        // </editor-fold>
        // Perform application initialization that must complete
        // *after* managed components are initialized
        // TODO - add your own initialization code here
    }

    /**
     * <p>Callback method that is called after rendering is completed for
     * this request, if <code>init()</code> was called.  Override this
     * method to release resources acquired in the <code>init()</code>
     * resources that will be needed for event handlers and lifecycle methods.</p>
     * 
     * <p>The default implementation does nothing.</p>
     */
    @Override
    public void destroy() {
    }

    /**
     * <p>Return a reference to the scoped data bean.</p>
     */
    protected RequestBean1 getRequestBean1() {
        return (RequestBean1) getBean("RequestBean1");
    }

    /**
     * <p>Return a reference to the scoped data bean.</p>
     */
    protected ApplicationBean1 getApplicationBean1() {
        return (ApplicationBean1) getBean("ApplicationBean1");
    }

    /**
     * <p>Return a reference to the scoped data bean.</p>
     */
    protected SessionBean1 getSessionBean1() {
        return (SessionBean1) getBean("SessionBean1");
    }

    /**
     * <p>Return a reference to the scoped data bean.</p>
     */
    protected ApplicationBean1 getweb$ApplicationBean1() {
        return (ApplicationBean1)getBean("web$ApplicationBean1");
    }
}
